/****************************************************************************************************/
/**
\file       Sch_Task.c
\brief      Scheduler periodic task 
\date       08/03/2014
*/
/****************************************************************************************************/

 #include "Sch_Tasks.h"
 

 void SchM_Task_1p56ms(void) 
 {
   
    u32 index;
    PORTA_PA1 = 1;
    for(index=DELAY_TASK_1; index ; index--);
    PORTA_PA1 = 0;
 }
void SchM_Task_6p25ms(void) 
{
    u32 index;
    PORTA_PA2 = 1;
    for(index=DELAY_TASK_2; index ; index--);
    PORTA_PA2 = 0;
}
void SchM_Task_12p5ms(void) 
{
    u32 index;
    PORTA_PA3 = 1;
    for(index=DELAY_TASK_3; index ; index--);
    PORTA_PA3 = 0;
}
void SchM_Task_25ms(void) 
{
    u32 index;
    PORTB_PB1 = 1;
    for(index=DELAY_TASK_4; index ; index--);
    PORTB_PB1 = 0;
}
void SchM_Task_50ms(void) 
{
    u32 index;
    PORTB_PB2 = 1;
    for(index=DELAY_TASK_5; index ; index--);
    PORTB_PB2 = 0;
}
void SchM_Task_100ms(void) 
{
    u32 index;
    PORTB_PB3 = 1;
    for(index=DELAY_TASK_6; index ; index--);
    PORTB_PB3 = 0;
}

